/*
 * ShopDetailContract.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.shopdetail;

import android.os.Bundle;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;

/** 店铺详情页面契约类 */
public class ShopDetailContract {

    interface Presenter extends BasePresenter {

        void loadHeader(Bundle bundle);

        void collectShop();
    }

    interface View extends BaseView<Presenter> {

        void setShopNoticeVisibility(boolean visibility);

        void setTitle(String title);

        void setQualityLevel(float level);

        void setServiceLevel(float level);

        void setHasCollection(boolean hasCollection);

        void setLogisticsLevel(float level);

        void refreshShopName(String shopName);

        void refreshShopHeader(
                String shopLogo,
                String bigImage,
                int goodsNumber,
                int saleNumber,
                String shopNotice);
    }
}
